package com.ruoyi.core.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 身份标识视图对象 f_config
 *
 * @author ztx
 * @date 2023-03-16
 */
@Data
@ExcelIgnoreUnannotated
public class ConfigVo {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @ExcelProperty(value = "Id")
    private Long id;

    /**
     * 微信id
     */
    @ExcelProperty(value = "微信id")
    private Long wid;

    /**
     * 程序类型
     */
    @ExcelProperty(value = "程序类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_config_type")
    private String type;

    /**
     * 程序名称
     */
    @ExcelProperty(value = "程序名称")
    private String appName;

    /**
     * 身份标识
     */
    @ExcelProperty(value = "身份标识")
    private String appid;

    /**
     * 身份密钥
     */
    @ExcelProperty(value = "身份密钥")
    private String secret;

    /**
     * aeskey
     */
    @ExcelProperty(value = "aeskey")
    private String aeskey;

    /**
     * 是否支付
     */
    @ExcelProperty(value = "是否支付", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "usr_logic")
    private String isPay;

    /**
     * 配置token
     */
    @ExcelProperty(value = "配置token")
    private String token;

    /**
     * 商户号
     */
    @ExcelProperty(value = "商户号")
    private String parther;

    /**
     * 支付密钥
     */
    @ExcelProperty(value = "支付密钥")
    private String partherKey;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "usr_logic")
    private String isused;

    /**
     * 回调地址
     */
    @ExcelProperty(value = "回调地址")
    private String redirectUrl;

    /**
     * apiv3key
     */
    @ExcelProperty(value = "apiv3key")
    private String apivkey;

    /**
     * 本地keypath
     */
    @ExcelProperty(value = "本地keypath")
    private String ikeyPath;

    /**
     * keypath
     */
    @ExcelProperty(value = "keypath")
    private String keyPath;

    /**
     * 本地pr
     */
    @ExcelProperty(value = "本地pr")
    private String iprivateKeyPath;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String privateKeyPath;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String lprivateCertPath;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String privateCertPath;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String certSerialNo;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ExcelProperty(value = "修改人")
    private String updateBy;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * p12key远程访问地址
     */
    @ExcelProperty(value = "p12key远程访问地址")
    private String p12CertPath;

    /**
     * p12key本地访问地址
     */
    @ExcelProperty(value = "p12key本地访问地址")
    private String lp12CertPath;

    /**
     * 微信支付商户id
     */
    @ExcelProperty(value = "微信支付商户id")
    private String mchId;

    /**
     * 微信支付商户key密钥
     */
    @ExcelProperty(value = "微信支付商户key密钥")
    private String mchKey;

    /**
     * 每次签到可以增加的次数
     */
    @ExcelProperty(value = "每次签到可以增加的次数")
    private Integer signTimes;

    /**
     * 分享二维码时用到的背景图
     */
    @ExcelProperty(value = "分享二维码时用到的背景图")
    private String shareBg;

    /**
     * 分享二维码时用到的主图
     */
    @ExcelProperty(value = "分享二维码时用到的主图")
    private String shareMain;
}
